package com.shanshan.crowd;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.session.FlushMode;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @Description
 * @ClassName CrowdMainClass
 * @Author 山山大魔王
 * @Date 2022/7/30 15:12
 * @Version 1.0
 */

@EnableDiscoveryClient
@SpringBootApplication
@EnableRedisHttpSession(flushMode = FlushMode.IMMEDIATE)
@EnableZuulProxy  // 开启 zuul代理
public class CrowdZuulMainClass {
    public static void main(String[] args) {
        SpringApplication.run(CrowdZuulMainClass.class, args);
    }
}
